package com.gacu.viewer.client.algo;

import java.io.Serializable;

import com.gacu.viewer.client.rna.RNAss;

public abstract class AbsAlgorithm implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	protected RNAss strands[];
	protected RNAss structs[];
	protected WrapperRNA strandsResult[];
	protected WrapperRNA structsResult[];
	
    public abstract void execute();
    
	public AbsAlgorithm()
	{}
	
    public AbsAlgorithm(RNAss strands[], RNAss structs[])
    {
    	this.strands = strands;
    	this.structs = structs;
    }
    
	public WrapperRNA[] getStrandsResult() {
		return strandsResult;
	}
		
	public WrapperRNA[] getStructsResult() {
		return structsResult;
	}		
	
	public RNAss[] getStrands() {
		return strands;
	}

	public RNAss[] getStructs() {
		return structs;
	}	
}
